package edu.kit.csl.cratylus.extraction;

import java.util.LinkedList;
import java.util.List;

import edu.kit.csl.cratylus.datatypes.Candidate;

/**
 * This splitter is named after the communist philosopher Karl Marx. It puts
 * all candidates in one single cluster. Therefore, this splitter is the 
 * opposite of {@link SartreSplitter}.
 */
public class MarxSplitter implements Splitter {

	/* (non-Javadoc)
	 * @see edu.kit.csl.cratylus.extraction.Splitter#split(java.util.List)
	 */
	@Override
	public List<List<Candidate>> split(List<Candidate> candidates) {
		List<List<Candidate>> clusters = 
				new LinkedList<List<Candidate>>();
		clusters.add(candidates);
		return clusters;
	}
}
